﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeLinkApi.Models.Request
{
    /// <summary>
    /// 会议预约参数设置
    /// </summary>
    public class M_RestScheduleRequest : ApiRequest
    {
        public int conferenceType { get; set; }
        public string startTime { get; set; }
        public int length { get; set; }
        public string subject { get; set; }
        public string mediaTypes { get; set; }
        public string groupuri { get; set; }
        public Attendee [] attendees { get; set; }
        public CycleParams cycleParams { get; set; }
        public int isAutoRecord { get; set; }
        public int encryptMode { get; set; }
        public string language { get; set; }
        public string timeZoneID { get; set; }
        public int recordType { get; set; }
        public string liveAddress { get; set; }
        public string auxAddress { get; set; }
        public int recordAuxStream { get; set; }
        public ConfConfigInfo confConfigInfo { get; set; }
        public int recordAuthType { get; set; }
        public int vmrFlag { get; set; }
        public string vmrID { get; set; }

        public override string GetApiMethod()
        {
            return "/v1/mmc/management/conferences";
        }
    }

    /// <summary>
    /// 与会者列表
    /// </summary>
    public class Attendee
    {
        public string userUUID { get; set; }
        public string accountId { get; set; }
        public string name { get; set; }
        public int role { get; set; }
        public string phone { get; set; }
        public string phone2 { get; set; }
        public string phone3 { get; set; }
        public string email { get; set; }
        public string sms { get; set; }
        public int isMute { get; set; }
        public int isAutoInvite { get; set; }
        public string type { get; set; }
        public string address { get; set; }
        public string deptUUID { get; set; }
        public string deptName { get; set; }

    }
    
}
